<!--
 * Created by PhpStorm.
 * 版权所有: 2019~2022 [ hhygyl ]
 * Date: 2019/7/15-11:42
 * Link: http://luckyadmin.luckyhhy.cn
 * FileName: duanzi.html
 **************************************************************
 *                                                            *
 *   .=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.       *
 *    |                     ______                     |      *
 *    |                  .-"      "-.                  |      *
 *    |                 /            \                 |      *
 *    |     _          |              |          _     |      *
 *    |    ( \         |,  .-.  .-.  ,|         / )    |      *
 *    |     > "=._     | )(__/  \__)( |     _.=" <     |      *
 *    |    (_/"=._"=._ |/     /\     \| _.="_.="\_)    |      *
 *    |           "=._"(_     ^^     _)"_.="           |      *
 *    |               "=\__|IIIIII|__/="               |      *
 *    |              _.="| \IIIIII/ |"=._              |      *
 *    |    _     _.="_.="\          /"=._"=._     _    |      *
 *    |   ( \_.="_.="     `--------`     "=._"=._/ )   |      *
 *    |    > _.="                            "=._ <    |      *
 *    |   (_/                                    \_)   |      *
 *    |                                                |      *
 *    '-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='      *
 *                                                            *
 *                    JUST FIND YOUR BUG !                    *
 **************************************************************
 *-->

{include file="public/head" /}

<link rel="stylesheet" href="{__ADMIN_PATH}css/album.css?v=1.5">

<body>
<!-- 正文开始 -->
<div class="layui-fluid">
    <div class="layui-row layui-col-space10">
        <div class="layui-col-md12">

            <div class="layui-card">
                <div class="layui-card-header">
                    数据采集列表
                </div>

                <div class="layui-card-body layui-row ">

                    <div class="layui-form">
                        <table class="layui-table">
                            <colgroup>
                                <col width="250">
                                <col >
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>采集名称</th>
                                <th>描述</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>

                            <tr>
                                <td>
                                   <span class="layui-text text-success">  段子手视频数据 </span>
                                </td>
                                <td>段子手搞笑视频数据采集，表名：duanjie（建议一周采集一次，每次采集300条数据）</td>
                                <td>
                                    <button class="layui-btn layui-btn-normal layui-btn-sm duanzi"><i class="layui-icon layui-icon-chart"></i>开始采集</button>

                                    <button class="layui-btn layui-btn-warm layui-btn-sm duanzi_option"><i class="layui-icon layui-icon-refresh"></i>优化表</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="layui-text text-warning">  段子手动态静态趣图 </span>
                                </td>
                                <td>段子手动态静态趣图数据采集，表名：jokeimg（建议一周采集一次，每次采集200条数据）,两种图片类型随机采取。</td>
                                <td>
                                    <button class="layui-btn layui-btn-normal layui-btn-sm qutu"><i class="layui-icon layui-icon-chart"></i>开始采集</button>

                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <span class="layui-text text-info">  段子手段子 </span>
                                </td>
                                <td>段子手文字段子数据采集，表名：jokeimg（建议一周采集一次，每次采集200条数据）</td>
                                <td>
                                    <button class="layui-btn layui-btn-normal layui-btn-sm wenzi"><i class="layui-icon layui-icon-chart"></i>开始采集</button>

                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <span class="layui-text text-danger">  新闻数据 </span>
                                </td>
                                <td>各种新闻数据采集，类型,,top(头条，默认),shehui(社会),guonei(国内),shishang(时尚)
                                    * guoji(国际),yule(娱乐),tiyu(体育)junshi(军事),keji(科技),caijing(财经)</td>
                                <td>
                                    <button class="layui-btn layui-btn-normal layui-btn-sm news"><i class="layui-icon layui-icon-chart"></i>开始采集</button>

                                </td>
                            </tr>


                            </tbody>
                        </table>
                    </div>

                </div>

            </div>








        </div>


    </div>




</div>



{include file="public/js" /}

<script src="{__ADMIN_PATH}js/jquery.lazyload.min.js?v=1.9.1"></script>

<script type="text/javascript" charset="utf-8">
    $(function() {
        $("img.lazy").lazyload({effect: "fadeIn"});
    });
</script>

<script>

    layui.use(['element', 'form', 'jquery','lucky'], function () {
        var element = layui.element;
        var form = layui.form;
        var $ = layui.jquery;
        var lucky=layui.lucky;

       $(".duanzi").click(function () {
           lucky.FormSubmit("{:url('module/GetDuanZiData')}",{id:1});
           return false;
       });

       $(".duanzi_option").click(function () {
           lucky.FormSubmit("{:url('module/OptionDuan')}",{id:1});
           return false;
       });

        $(".qutu").click(function () {
            lucky.FormSubmit("{:url('module/GetQuImg')}",{id:1});
            return false;
        });


        $(".wenzi").click(function () {
            lucky.FormSubmit("{:url('module/GetWenZi')}",{id:1});
            return false;
        });


        $(".news").click(function () {
            lucky.FormSubmit("{:url('module/GetNews')}",{id:1});
            return false;
        });

    });

</script >


</body >
</html >